package com.example.demo.order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 订单服务feign
 */
@FeignClient(name = "order-service",path = "/order")
public interface OrderFeign {
    /**
     * 订单服务接口
     * @param param
     * @return
     */
    @RequestMapping(value = "/update")
    String updateOrder(Map<String,String> param);
}
